#ifndef MYLABEL_H
#define MYLABEL_H
#include <QLabel>
#include <QWidget>
#include <QTimerEvent>

class mylabel : public QLabel
{
    Q_OBJECT
public:
    mylabel(QWidget* parent = nullptr);

    void enterEvent(QEvent *event) override;
    void leaveEvent(QEvent *event) override;
    void mousePressEvent(QMouseEvent *ev) override;
    void keyPressEvent(QKeyEvent *ev) override;
    void mouseReleaseEvent(QMouseEvent *ev) override;

};

#endif // MYLABEL_H
